FROM docker.jianmuhub.com/library/amazoncorretto:11.0.18

RUN yum install -y --setopt=install_weak_deps=0 \
        unzip; \
    yum clean all

ADD script/generate.sh /usr/local/bin/
ADD allure/allure-2.15.0.zip /usr/local/bin/
ENTRYPOINT ["sh"]
CMD ["/usr/local/bin/generate.sh"]